import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  //指令下达
  getTableData: (query) => api.post(`${config.interfaces.type5}portfolio-server/portfolioOrder/calculate`, query),
  // 导入
  upLoad: (query) => api.uploadFile(`${config.interfaces.type5}portfolio-server/portfolioOrder/import`, {}, query),
};
